package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 订单发起对象 wc_com_order
 * 
 * @author ruoyi
 * @date 2020-02-27
 */
public class WcComOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String ordernum;

    String userid;

    /** 客户人姓名 */
    @Excel(name = "客户人姓名")
    private String username;

    /** 业务员 */
    @Excel(name = "业务员")
    private String forbyusername;

    /** 门店 */
    @Excel(name = "门店")
    private String forbycarshopusername;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 车辆编码 */
    @Excel(name = "车辆编码")
    private Long carid;

    /** 车辆品名 */
    @Excel(name = "车辆品名")
    private String carname;

    /** 申请时间 */
    @Excel(name = "申请时间")
    private Long createdata;

    Date createTime;

    String userMobile;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrdernum(String ordernum) 
    {
        this.ordernum = ordernum;
    }

    public String getOrdernum() 
    {
        return ordernum;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setForbyusername(String forbyusername) 
    {
        this.forbyusername = forbyusername;
    }

    public String getForbyusername() 
    {
        return forbyusername;
    }
    public void setForbycarshopusername(String forbycarshopusername) 
    {
        this.forbycarshopusername = forbycarshopusername;
    }

    public String getForbycarshopusername() 
    {
        return forbycarshopusername;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCarid(Long carid) 
    {
        this.carid = carid;
    }

    public Long getCarid() 
    {
        return carid;
    }
    public void setCarname(String carname) 
    {
        this.carname = carname;
    }

    public String getCarname() 
    {
        return carname;
    }
    public void setCreatedata(Long createdata) 
    {
        this.createdata = createdata;
    }

    public Long getCreatedata() 
    {
        return createdata;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ordernum", getOrdernum())
            .append("username", getUsername())
            .append("forbyusername", getForbyusername())
            .append("forbycarshopusername", getForbycarshopusername())
            .append("status", getStatus())
            .append("carid", getCarid())
            .append("carname", getCarname())
            .append("createdata", getCreatedata())
            .toString();
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}
